#!/bin/bash
#$ -V
#$ -cwd
#$ -N MPI_EXPERIMENT #Replace with your job name
#$ -j y
#$ -o $JOB_NAME.o$JOB_ID
#$ -pe 4way 16 #Number of tasks per node(wayness)(4 in the sample) and number of nodes multiplies by 16(1 in the sample).
#$ -q development #queue name - do not change this
#$ -l h_rt=00:30:00 #specifies resource limits - in this case, the maximum amount of time for which your job can run
#$ -M benry@cs.utexas.edu #Replace with your email id
#$ -A CS378-Spring_2008  #Project Name - Do not change this

#ibrun ./a.out

ibrun -n 2 -o 0 ./IMB-MPI1 PingPong PingPing
ibrun -n 4 -o 0 ./IMB-MPI1 SendRecv Exchange
ibrun -n 4 -o 0 ./IMB-MPI1 Bcast Allgather Alltoall Reduce AllReduce Barrier